package org.example.work.pojo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Comment {
    private Integer id;
    private String username;
    private Integer taskid;
    private LocalDateTime createTime;
    private String replyUsername;
    @NotEmpty(message = "评论内容不能为空")
    private String content;
    private Integer level;
    private Integer parentCommentId;
}